package com.burgeon.backend.SHOPBACKEND.service;


import com.burgeon.backend.SHOPBACKEND.entity.dao.DaoMessage;
import com.burgeon.backend.SHOPBACKEND.entity.dao.WxMessage;
import com.burgeon.backend.SHOPBACKEND.entity.recored.MessageRecore;

import java.util.List;

public interface RecordService {

    //查看聊天记录
    List<MessageRecore> getRecord(String daoId, String openId,int page,String token);
    List<MessageRecore> getAppRecord(String daoId, String openId,int page,String ip);

    //修改未读消息
    //修改聊天记录
    Integer upRecordState(String daoId, String openId);

    Boolean getLastRecord(String openId);









    //根据openid查询聊天信息纪录
    List<WxMessage> getWxRecord(String openId, String daoId);

    //导购发送给微信的信息
    List<DaoMessage> getDaoRecord(String openId, String daoId);

    //查询导购没有连接，微信用户没有成功发送的消息
    List<WxMessage> getWxRecordBysState(String openId);
}
